﻿using System.ComponentModel.DataAnnotations;
using Entities;

namespace ProductService.DTOs;

//生成增删改查dto
public record CreateQuestionDto(
    [Required] string Title,
    [Required] string Content,
    [Required][ListCountValidator(2,5)] List<string> Tags
);
